package com.huyanqi.front.rest;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementWrapper;

/**
 * 
 * <p>Title: PageData.java</p>
 * 
 * <p>Description: 返回分页数据</p>
 * 
 * <p>Datetime: 2011-12-25 下午11:49:13</p>
 *
 * @company 成都映潮科技有限公司
 * 
 * @author <a href="mailto:liwei@sunsharp.cn">p.k.ripper</a>
 *
 */
@SuppressWarnings("serial")
@XmlAccessorType(XmlAccessType.FIELD)
public class PageData<T> extends BaseRespObj{
	
	private PageRespObj pageinfo;
	
	@XmlElementWrapper(name="pageData")
	public List<T> data;

	public PageRespObj getPageinfo() {
		return pageinfo;
	}

	public void setPageinfo(PageRespObj pageinfo) {
		this.pageinfo = pageinfo;
	}

	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		this.data = data;
	}
}
